package com.zxst.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxst.entity.Member;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxst
 * @since 2025-06-17
 */
public interface MemberMapper extends BaseMapper<Member> {

    @Select("select count(*) from member where create_time between #{start}  and  #{end}")
    int getCtByDate(String start, String end);

    Integer getTodayMember(String todayStr);

    Integer getTotalMember();
}
